package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 合作商返厂表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_merchants_back")
@ApiModel(value = "XhMerchantsBack对象", description = "合作商返厂表")
public class XhMerchantsBack implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String orderNo;

    @ApiModelProperty("关联合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("电池总数")
    private Integer batteryNumber;

    @ApiModelProperty("返厂维修状态，1-工厂处理，2-工厂已发货，3-签收完成")
    private Integer status;

    @ApiModelProperty("进入当前状态时间")
    private Date statusTime;

    @ApiModelProperty("联系人(可自动填充，可修改）")
    private String contactName;

    @ApiModelProperty("联系电话(可自动填充，可修改）")
    private String contactPhone;

    @ApiModelProperty("收货地址(可自动填充，可修改）")
    private String contactAddress;

    @ApiModelProperty("发货时间")
    private Date deliveryTime;

    @ApiModelProperty("关联快递表ID")
    private Integer deliveryExpressId;

    @ApiModelProperty("发货人")
    private Integer deliveryUserId;

    @ApiModelProperty("发货人名称")
    private String deliveryUserName;

    @ApiModelProperty("发货备注信息")
    private String deliveryRemark;

    @ApiModelProperty("签收时间")
    private Date signTime;

    @ApiModelProperty("签收人")
    private Integer signUserId;

    @ApiModelProperty("签收人名称")
    private String signUserName;

    @ApiModelProperty("单据备注")
    private String remark;

    @ApiModelProperty("创建人ID")
    private Integer createUserId;

    @ApiModelProperty("创建人名称")
    private String createUserName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
